<%-- 
    Document   : index
    Created on : May 22, 2013, 6:53:12 PM
    Author     : carlo.bison
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Barattando</title>
    </head>
    <body>
        <h1>Benvenuto!</h1>
        <form name="LoginForm" id="Loginform" method="GET" action="LoginServlet">
            <table border="1">
                
                <tbody>
                    <tr>
                        <td>Username:</td>
                        <td><input type="text" name="userName" value="" id="1" /></td>
                    </tr>
                    <tr>
                        <td>Password:</td>
                        <td><input type="password" name="pwd" value="" id="2"/></td>
                    </tr>
                </tbody>
            </table>
            <br/>
            <input type="submit" value="LOGIN" name="LoginButton" />
        </form>
        
     
        <form name="RegisterForm" id="RegisterForm" method="GET" action="RegisterServlet">
            <table border="1">
                
                <tbody>
                    <tr>
                        <td>Username:</td>
                        <td><input type="text" name="userName" value="" id="1" /></td>
                    </tr>
                    <tr>
                        <td>Password:</td>
                        <td><input type="password" name="pwd" value="" id="2"/></td>
                    </tr>
                    <tr>
                        <td>Nome:</td>
                        <td><input type="text" name="nome" value="" id="3"/></td>
                    </tr>
                    <tr>
                        <td>Cognome:</td>
                        <td><input type="text" name="cognome" value="" id="4"/></td>
                    </tr>
                    <tr>
                        <td>email:</td>
                        <td><input type="text" name="email" value="" id="5"/></td>
                    </tr>
                </tbody>
            </table>
            <br/>
            <input type="submit" value="REGISTRA" name="RegisterButton" />
        </form>
    </body>
</html>
